package com.corpdata.common.upload.dao;

import java.util.List;

import com.corpdata.common.upload.entity.SysAttachment;
import com.corpdata.core.base.BaseMapper;

/**
 *  持久层接口
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-07-26 10:32:32
 * 
 */
public interface SysAttachmentMapper extends BaseMapper<SysAttachment>{
	int updateDel(String id);
	/**
	 * @author wu
	 * @创建时间:2018年3月4日13:26:08
	 * @功能:获取指定docid的所有附件
	 * @param docUnid
	 * @return
	 */
	List<SysAttachment> findByDocUnid(String docUnid);
	
	SysAttachment selectId(String id);
}
